// The Vue build version to load with the `import` command
// (runtime-only or standalone) has been set in webpack.base.conf with an alias.
import Vue from 'vue'
import App from './App'
import router from './router'
import u from './common.js'
import 'element-ui/lib/theme-chalk/index.css'
import { MessageBox, Message} from "element-ui";

// 公共的js
import base from  '../static/js/base'
Vue.use(base)

// 公共的css
import basecss from  '../static/css/base.css'
Vue.use(basecss)

Vue.config.productionTip = false
Vue.prototype.$confirm = MessageBox.confirm;
Vue.prototype.$message = Message;


/* eslint-disable no-new */
new Vue({
  el: '#app',
  router,
  components: { App },
  template: '<App/>'
})
